from django.contrib import admin
from Applications.IT.models import IT, IT_Tag


# Goods模型的管理器
@admin.register(IT)
class ITAdmin(admin.ModelAdmin):
    list_display = ('title', 'type', 'views', 'like', 'pub_time')

# Goods模型的管理器
@admin.register(IT_Tag)
class IT_TagAdmin(admin.ModelAdmin):
    list_display = ('name', 'slug')